/*
 * @Author: xiaosihan 
 * @Date: 2023-08-10 11:24:00 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-01-09 01:07:45
 */

.toolTextStrokeColor {
  width: 30px;
  height: 30px;
  position: relative;
  border-radius: 4px;
  text-align: center;
  line-height: 32px;
  margin: 5px;
  cursor: pointer;
  display: none;
  overflow: hidden;
  vertical-align: middle;
  text-align: left;
  font-size: 16px;
  border: 1px solid #B3B3B3;

  &.visible {
    display: inline-block;
  }

  &.disable {
    pointer-events: none;
    opacity: 0.5;
  }

  .icon {
    display: inline-block;
    width: 20px;
  }

  .colorBlock {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: text-top;
    margin-left: 5px;
  }


}

.color_picker {
  .SketchPicker {
    user-select: none;
  }
}


.toolTextStrokeWidth {
  position: relative;
  display: none;
  margin-left: 4px;

  &.visible {
    display: inline-block;
  }

  &.disable {
    pointer-events: none;
    opacity: 0.5;
  }

  .slider {
    display: inline-block;
    vertical-align: middle;
    width: 130px;
    margin: 0px 10px;

    :global {
      .ant-slider-track {
        background-color: #FD7901;
      }

      .ant-slider-handle::after {
        box-shadow: 0 0 0 2px #FD7901;
      }
    }
  }

  .input {
    display: inline-block;
    width: 58px;
    text-align: center;
    vertical-align: middle;
    padding: 4px;

    input {
      text-align: center;
    }
  }
}